Skip to content

Conversation

@obertini78
Copy link

Fix suggested by ChatGPT 5.2. Works fine on my setup with J1.

Cura 5.11+ passes an extra keyword argument mime_type into MeshWriter/FileWriter write().
SnapmakerGCodeWriter.write() does not accept it, causing a TypeError when exporting/saving G-code.

This change makes write() accept mime_type (and **kwargs) for forward compatibility.
No behavioral changes otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant